import request from '@/utils/request'

export function getInfo(data) {
  return request({
    url: '/production/reportForWork/getInfo/' + data,
    method: 'get'
  })
}
export function addOrUpdate(data) {
  return request({
    url: '/production/reportForWork/addOrEdit',
    method: 'post',
    data: data
  })
}
export function remove(data) {
  return request({
    url: '/product/startWork/delete',
    method: 'post',
    data: { deleteIds: data }
  })
}
export function createCheck(data) {
  return request({
    url: '/product/task/createCheck',
    method: 'post',
    data: data
  })
}
export function toInspect(data) {
  return request({
    url: '/production/reportForWork/toInspect',
    method: 'post',
    data: data
  })
}
